$(document).ready(function(){
    /* ajax添加商品  */
    $('#speciality_add_goods').ajaxContent({
        event:'click', //mouseover
        loaderType:"img",
        loadingMsg:alioss_path+"/images/loading.gif",
        target:'#speciality_add_goods_ajaxContent'
    }).click(function(){
        $(this).hide();
        $('#speciality_add_goods_delete').show();
    });

    $('#speciality_add_goods_delete').click(function(){
        $(this).hide();
        $('#speciality_add_goods_ajaxContent').html('');
        $('#speciality_add_goods').show();
    });
    // 退拽效果
    $('tbody[nctype="speciality_data"]').sortable({ items: 'tr' });
    $('#goods_images').sortable({ items: 'li' });
});


